package org.lq.rbac.vo;

import java.io.Serializable;
import java.util.List;

public class MenuVO implements Serializable {
    private Integer id;
    private String label;
    private String url;
    private boolean disabled;
    private boolean isLeaf;
    private List<MenuVO> childern;


    public void setChildern(List<MenuVO> childern) {
        this.childern = childern;
    }

    public List<MenuVO> getChildern() {
        return childern;
    }

    @Override
    public String toString() {
        return "MenuVO{" +
                "id=" + id +
                ", label='" + label + '\'' +
                ", url='" + url + '\'' +
                ", disabled=" + disabled +
                ", isLeaf=" + isLeaf +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public boolean getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(boolean leaf) {
        isLeaf = leaf;
    }
}
